import org.apache.maven.AbstractMavenLifecycleParticipant;
import org.apache.maven.MavenExecutionException;
import org.apache.maven.execution.MavenSession;
import org.apache.maven.plugin.logging.Log;
import org.codehaus.plexus.component.annotations.Component;

import java.util.logging.Logger;

@Component(role = AbstractMavenLifecycleParticipant.class, hint = "beer")
public class BeerMavenLifecycleParticipant extends AbstractMavenLifecycleParticipant {

    static Logger logger = Logger.getLogger(BeerMavenLifecycleParticipant.class.getName());

    public BeerMavenLifecycleParticipant() {
        super();
        logger.info("BeerMavenLifecycleParticipant init...");
    }

    @Override
    public void afterProjectsRead(MavenSession session) throws MavenExecutionException {
        logger.info("afterProjectsRead...");
    }

    @Override
    public void afterSessionStart(MavenSession session) throws MavenExecutionException {
        logger.info("afterProjectsRead...");
    }

    @Override
    public void afterSessionEnd(MavenSession session) throws MavenExecutionException {
        logger.info("afterProjectsRead...");
    }
}
